﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addnews03.aspx.cs" Inherits="WebSite.admin.title.addnews03" %>

 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>福利点点通</title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />

    <script language='javascript'>

	function clicka()
	{
	<% if (Request.QueryString["nid"] != null){}else{%>
	alert("- 文章标题不能为空。\n- 文章分类不能不选");
	return false;
	<%} %>
	}
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <%if (Request.QueryString["nid"] != null){ %>
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="addnews.aspx?nid=<%=Request.QueryString["nid"]%>">通用信息</a></td>
      <td bgcolor="#E2E7EB"><a href="addnews02.aspx?nid=<%=Request.QueryString["nid"]%>">文章内容</a></td>
      <td bgcolor="#C9D2DA"><a href="addnews03.aspx?nid=<%=Request.QueryString["nid"]%>" class="menu02">关联商品</a></td>
    </tr>
  </table>
  <%}else{ %>
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="addnews.aspx">通用信息</a></td>
      <td bgcolor="#E2E7EB"><a href="addnews02.aspx">文章内容</a></td>
      <td bgcolor="#C9D2DA"><a href="addnews03.aspx" class="menu02">关联商品</a></td>
    </tr>
  </table>
  <%} %>
  <br />
  <table Width="98%" border="0" cellpadding="5" cellspacing="0">
    <!-- 文章搜索 -->
    <tr>
      <td width="84%" colspan="3" align="left"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" />
      <asp:DropDownList ID="typeid" runat="server">
             <asp:ListItem Text="所有类别" Value="0"></asp:ListItem>
          </asp:DropDownList>
          <input name="keyname" id="keyname" runat="server" />
        <asp:ImageButton ID="ImageButton2" ImageUrl="../images/button04.gif" runat="server" OnClick="ImageButton2_Click" /></td>
    </tr>
    <!-- 文章列表 -->
    <tr class="text12_red">
      <td>
          可选商品</td>
      <td>操作</td>
      <td>
          该文章关联的商品</td>
    </tr>
    <tr>
      <td><asp:ListBox ID="lbLeft" runat="server" SelectionMode="Multiple" Width="300px" Height="260px"> </asp:ListBox>
      </td>
      <td align="center"><p>
        <asp:Button ID="btnToAllRight" runat="server" Text=" &gt;&gt; "  OnClick="btnToAllRight_Click" />
         </p>
          <p>
            <asp:Button ID="btnToRight" runat="server" Text="  &gt;  "  OnClick="btnToRight_Click" />
          </p>
          <p>
            <asp:Button ID="btnToLeft" runat="server" Text="  &lt; " OnClick="btnToLeft_Click" />
          </p>
          <p>
            <asp:Button ID="btnToAllLeft" runat="server" Text=" &lt;&lt; " OnClick="btnToAllLeft_Click" />
          </p></td>
      <td><asp:ListBox ID="lbRight" runat="server" SelectionMode="Multiple" Width="280px" Height="260px"></asp:ListBox></td>
    </tr>
    
    <tr>
      <td height="40" colspan="3" align="center">
      <asp:ImageButton ID="ImageButton1" ImageUrl="../images/buttom-02.gif" runat="server" OnClick="ImageButton1_Click" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
    </tr>
  </table>
  <br /></td>
</tr>
</table>
    </div>
    </form>
</body>
</html>
